home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / Misc / DXinstall / readme.txt < prev    next >
Text File  |  2001-10-10  |  2KB  |  55 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: DXInstall Sample
  4. // 
  5. // Copyright (c) 1998-2001 Microsoft Corporation. All rights reserved.
  6. // 
  7. //-----------------------------------------------------------------------------
  8.  
  9.  
  10. Description
  11. ===========
  12.   DXInstall is an example of how to use DirectXSetup interfaces to install the 
  13.   DirectX subsystem and DirectX drivers. It shows how to use a callback 
  14.   function to present messages and get user input through a custom interface, 
  15.   in this case a simple modeless dialog box.
  16.  
  17. Path
  18. ====
  19.   Source: DXSDK\Samples\Multimedia\Misc\DXInstall
  20.  
  21. User's Guide
  22. ============
  23.   First copy the entire contents of the Redist\DirectX8 folder from the DirectX 
  24.   SDK CD into the same folder as DXInstall.exe. In your development environment, 
  25.   set the working directory to this folder as well. (In Microsoft(r) Visual C++(r), 
  26.   this setting is on the Debug page of the Project Settings dialog box.)
  27.  
  28.   Run the program and select Start Install from the File menu. DirectSetup 
  29.   performs a simulated installation of DirectX (see Programming Notes) and 
  30.   advises you of its progress in a modeless dialog box. The Options menu allows 
  31.   you to change the level of messages shown. However, if you are performing 
  32.   only a simulated installation, you will never see problem or update messages.
  33.  
  34.   Choose Get Version from the File menu. The program shows the version and 
  35.   revision number of DirectX currently installed on the system.
  36.  
  37. Programming Notes
  38. =================
  39.  
  40.   By default, the program passes DSETUP_TESTINSTALL to the DirectXSetup 
  41.   function. This means that no files are actually copied, nor is the registry 
  42.   modified. To perform a real installation, delete this flag from the call.
  43.  
  44.   DXInstall employs a callback function to monitor the progress of installation 
  45.   and intercept messages. Depending on the user's preferred warning level, as 
  46.   tracked in g_fStatus, messages may be ignored or presented to the user in a 
  47.   modeless dialog box. If user input is required, the appropriate buttons are 
  48.   displayed and the GetReply function monitors the message queue until one of 
  49.   the buttons is pressed.
  50.  
  51.  
  52.  
  53.   
  54.  
  55.